package com.naiterui.ehp.bs.ds.modules.statistics.vo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.naiterui.ehp.bp.support.bean.annotation.Fen2Yuan;
import com.naiterui.ehp.bs.ds.common.json.Dict;

import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author guoyongxiang
 * @date 2019/10/11 10:41
 * @since 1.0.0
 */
@Data
public class OrderStatisticsVO {

    @ApiModelProperty(value = "订单编号")
    private String orderSn;

    @Fen2Yuan
    @ApiModelProperty(value = "订单金额")
    private Integer totalAmount;

    @ApiModelProperty(value = "下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    @ApiModelProperty(value = "发货时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    @ApiModelProperty(value = "快递名称")
    private String expressName;

    @ApiModelProperty(value = "快递单号")
    private String expressCode;

    @ApiModelProperty(value = "订单状态")
    @Dict(type = "order_status")
    private Integer orderStatus;
}
